﻿using RpcClient.Config;
using RpcHelper;

namespace RpcClient.Interface
{
    [Attr.ClassLifetimeAttr(Attr.ClassLifetimeType.单例)]
    public interface IRpcLogConfig
    {
        bool CheckIsRecord(string key, LogGrade grade, out LocalLogSet logSet);
        bool CheckIsRecord(string key,out LocalLogSet logSet);

        bool CheckIsRecord(string key,ErrorException e, out LocalLogSet logSet);
    }
}